package teach.aistar.model.entity;

import java.util.Date;



public class CarDetail {

    private Long id;

    private Long brId;

    private Long stId;

    private String cPhoto;

    private Integer cAge;

    private Double cOprice;

    private Double cPrice;

    private String cDesc;

    private Integer cStatus;

    private Date cCreatedate;

    private Integer cMileage;

    private Integer cSeat;

    private String cCus;

    private String cUse;

    private String cGear;

    private String cDrive;

    private String cPaifang;

    private Date cInsure;

    private Date cRegistration;

    private String cCheak;

    private String carCarnumber;

    private Integer carCount;

    private Integer likes;



    private String carCarNumber;

    private Long userId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBrId() {
        return brId;
    }

    public void setBrId(Long brId) {
        this.brId = brId;
    }

    public Long getStId() {
        return stId;
    }

    public void setStId(Long stId) {
        this.stId = stId;
    }

    public String getcPhoto() {
        return cPhoto;
    }

    public void setcPhoto(String cPhoto) {
        this.cPhoto = cPhoto;
    }

    public Integer getcAge() {
        return cAge;
    }

    public void setcAge(Integer cAge) {
        this.cAge = cAge;
    }

    public Double getcOprice() {
        return cOprice;
    }

    public void setcOprice(Double cOprice) {
        this.cOprice = cOprice;
    }

    public Double getcPrice() {
        return cPrice;
    }

    public void setcPrice(Double cPrice) {
        this.cPrice = cPrice;
    }

    public String getcDesc() {
        return cDesc;
    }

    public void setcDesc(String cDesc) {
        this.cDesc = cDesc;
    }

    public Integer getcStatus() {
        return cStatus;
    }

    public void setcStatus(Integer cStatus) {
        this.cStatus = cStatus;
    }

    public Date getcCreatedate() {
        return cCreatedate;
    }

    public void setcCreatedate(Date cCreatedate) {
        this.cCreatedate = cCreatedate;
    }

    public Integer getcMileage() {
        return cMileage;
    }

    public void setcMileage(Integer cMileage) {
        this.cMileage = cMileage;
    }

    public Integer getcSeat() {
        return cSeat;
    }

    public void setcSeat(Integer cSeat) {
        this.cSeat = cSeat;
    }

    public String getcCus() {
        return cCus;
    }

    public void setcCus(String cCus) {
        this.cCus = cCus;
    }

    public String getcUse() {
        return cUse;
    }

    public void setcUse(String cUse) {
        this.cUse = cUse;
    }

    public String getcGear() {
        return cGear;
    }

    public void setcGear(String cGear) {
        this.cGear = cGear;
    }

    public String getcDrive() {
        return cDrive;
    }

    public void setcDrive(String cDrive) {
        this.cDrive = cDrive;
    }

    public String getcPaifang() {
        return cPaifang;
    }

    public void setcPaifang(String cPaifang) {
        this.cPaifang = cPaifang;
    }

    public Date getcInsure() {
        return cInsure;
    }

    public void setcInsure(Date cInsure) {
        this.cInsure = cInsure;
    }

    public Date getcRegistration() {
        return cRegistration;
    }

    public void setcRegistration(Date cRegistration) {
        this.cRegistration = cRegistration;
    }

    public String getcCheak() {
        return cCheak;
    }

    public void setcCheak(String cCheak) {
        this.cCheak = cCheak;
    }

    public String getCarCarnumber() {
        return carCarnumber;
    }

    public void setCarCarnumber(String carCarnumber) {
        this.carCarnumber = carCarnumber;
    }

    public Integer getCarCount() {
        return carCount;
    }

    public void setCarCount(Integer carCount) {
        this.carCount = carCount;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public String getCarCarNumber() {
        return carCarNumber;
    }

    public void setCarCarNumber(String carCarNumber) {




        this.carCarNumber = carCarNumber == null ? null : carCarNumber.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public CarDetail() {

        this.carCarNumber = carCarNumber;

    }


    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("CarDetail{");
        sb.append("id=").append(id);
        sb.append(", brId=").append(brId);
        sb.append(", stId=").append(stId);
        sb.append(", cPhoto='").append(cPhoto).append('\'');
        sb.append(", cAge=").append(cAge);
        sb.append(", cOprice=").append(cOprice);
        sb.append(", cPrice=").append(cPrice);
        sb.append(", cDesc='").append(cDesc).append('\'');
        sb.append(", cStatus=").append(cStatus);
        sb.append(", cCreatedate=").append(cCreatedate);
        sb.append(", cMileage=").append(cMileage);
        sb.append(", cSeat=").append(cSeat);
        sb.append(", cCus='").append(cCus).append('\'');
        sb.append(", cUse='").append(cUse).append('\'');
        sb.append(", cGear='").append(cGear).append('\'');
        sb.append(", cDrive='").append(cDrive).append('\'');
        sb.append(", cPaifang='").append(cPaifang).append('\'');
        sb.append(", cInsure=").append(cInsure);
        sb.append(", cRegistration=").append(cRegistration);
        sb.append(", cCheak='").append(cCheak).append('\'');
        sb.append(", carCarnumber='").append(carCarnumber).append('\'');
        sb.append(", carCount=").append(carCount);
        sb.append(", likes=").append(likes);
        sb.append(", carCarNumber='").append(carCarNumber).append('\'');
        sb.append(", userId=").append(userId);
        sb.append('}');
        return sb.toString();
    }
}
